home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Compression
/
tarZan
/
Source
/
myBrowserCell.m
< prev
next >
Wrap
Text File
|
1992-07-27
|
1KB
|
37 lines
#import "myBrowserCell.h"
// Created By James T. Romano July 22, 1992
// Member of the Dynamic Duo of NeXT Computers!
//
//
// Read it and Weep!
@implementation myBrowserCell
- drawInside:(const NXRect *)cellFrame inView:controlView
{
id theBrowserDelegate;
int row,col;
if (![self isLoaded])
{
theBrowserDelegate = [[[[controlView superview] superview] superview] delegate];
[controlView getRow: &row andCol: &col ofCell:self];
[theBrowserDelegate browser:nil loadCell:self atRow:row inColumn: col];
}
return [super drawInside: cellFrame inView: controlView];
}
- highlight:(const NXRect *)cellFrame inView:controlView lit:(BOOL)lit
{
id theBrowserDelegate;
int row,col;
if (![self isLoaded])
{
theBrowserDelegate = [[[[controlView superview] superview] superview] delegate];
[controlView getRow:&row andCol:&col ofCell:self];
[theBrowserDelegate browser:nil loadCell:self atRow:row inColumn:col];
}
return [super highlight:cellFrame inView:controlView lit:lit];
}
@end